package com.industrial.premu.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 加减分项对象 pre_mu_add_substract_item
 *
 * @author SangGuangCan
 * @date 2024-01-23
 */
public class PreMuAddSubstractItem
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 父级ID */
    private String parentId;


    /** 年度 */
    @Excel(name = "年度")
    private String year;

    /** 县区 */
    @Excel(name = "县区")
    private String county;

    /** 企业类型 */
    private String companyType;

    /** 类型 */
    private String itemType;

    /** 层级 */
    private String itemLevel;

    /** 指标序号 */
    private String itemIndex;

    /** 指标 */
    @Excel(name = "指标")
    private String itemName;

    /** 指标说明 */
    private String itemDesc;

    /** 分值 */
    private String itemScore;

    /** 上限阈值 */
    private String itemMaxScore;

    /** 下限阈值 */
    private String itemMinScore;

    /** 创建时间 */
    private Date createDate;

    /** 更新时间 */
    private Date updateDate;

    private String createBy;
    private String updateBy;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 删除标记(0:未删除；1:已删除) */
    private String delFlag;

    private boolean hasLeft;

    private String oldValue;


    public String getOldValue() {
        return oldValue;
    }

    public void setOldValue(String oldValue) {
        this.oldValue = oldValue;
    }

    private List<PreMuAddSubstractItem> treeList;



    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public List<PreMuAddSubstractItem> getTreeList() {
        return treeList;
    }

    public void setTreeList(List<PreMuAddSubstractItem> treeList) {
        this.treeList = treeList;
    }


    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setParentId(String parentId)
    {
        this.parentId = parentId;
    }

    public String getParentId()
    {
        return parentId;
    }
    public void setYear(String year)
    {
        this.year = year;
    }

    public String getYear()
    {
        return year;
    }
    public void setCounty(String county)
    {
        this.county = county;
    }

    public String getCounty()
    {
        return county;
    }
    public void setCompanyType(String companyType)
    {
        this.companyType = companyType;
    }

    public String getCompanyType()
    {
        return companyType;
    }
    public void setItemType(String itemType)
    {
        this.itemType = itemType;
    }

    public String getItemType()
    {
        return itemType;
    }
    public void setItemLevel(String itemLevel)
    {
        this.itemLevel = itemLevel;
    }

    public String getItemLevel()
    {
        return itemLevel;
    }
    public void setItemIndex(String itemIndex)
    {
        this.itemIndex = itemIndex;
    }

    public String getItemIndex()
    {
        return itemIndex;
    }
    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName()
    {
        return itemName;
    }
    public void setItemDesc(String itemDesc)
    {
        this.itemDesc = itemDesc;
    }

    public String getItemDesc()
    {
        return itemDesc;
    }
    public void setItemScore(String itemScore)
    {
        this.itemScore = itemScore;
    }

    public String getItemScore()
    {
        return itemScore;
    }
    public void setItemMaxScore(String itemMaxScore)
    {
        this.itemMaxScore = itemMaxScore;
    }

    public String getItemMaxScore()
    {
        return itemMaxScore;
    }
    public void setItemMinScore(String itemMinScore)
    {
        this.itemMinScore = itemMinScore;
    }

    public String getItemMinScore()
    {
        return itemMinScore;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate)
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate()
    {
        return updateDate;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public boolean isHasLeft() {
        return hasLeft;
    }

    public void setHasLeft(boolean hasLeft) {
        this.hasLeft = hasLeft;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("parentId", getParentId())
                .append("year", getYear())
                .append("county", getCounty())
                .append("companyType", getCompanyType())
                .append("itemType", getItemType())
                .append("itemLevel", getItemLevel())
                .append("itemIndex", getItemIndex())
                .append("itemName", getItemName())
                .append("itemDesc", getItemDesc())
                .append("itemScore", getItemScore())
                .append("itemMaxScore", getItemMaxScore())
                .append("itemMinScore", getItemMinScore())
                .append("createBy", getCreateBy())
                .append("createDate", getCreateDate())
                .append("updateBy", getUpdateBy())
                .append("updateDate", getUpdateDate())
                .append("remarks", getRemarks())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
